package exercise_1;

public class jiandati_3 {

	public static void main(String[] args) {
		int p,q;
		for(p=1;p<35;p++) {
			q = 35-p;
			if(p*2+4*q==94) {
				System.out.printf("chook %d rabbit %d",p,q);
			}
		}

	}

}
